<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!-- table>(tr>td*4)*5 点击tab -->
    <!--
        border 边框
        width  宽度
        cellspacing  单元格间距
    -->
    <table border="1" width="400" cellspacing="0">
        <tr bgcolor="#e3e3e3">
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
            <th>成绩</th>
        </tr>
        <tr>
            <td>小明</td>
            <td>男</td>
            <!-- 跨越多行 -->
            <td rowspan="2">21</td>
            <td>89</td>
        </tr>
        <tr>
            <td>小红</td>
            <td>女</td>
            <td>75</td>
        </tr>
        <tr>
            <td>小东</td>
            <td>男</td>
            <td>22</td>
            <td>78</td>
        </tr>
        <tr>
            <td>小美</td>
            <td>女</td>
            <td>20</td>
            <td>90</td>
        </tr>
        <tr>
            <!-- 设置跨越多列 -->
            <td colspan="4">备注：以上为2024年上半学年数据</td>
        </tr>
    </table>
</body>
</html>